<!--  -->
<template>
    <view>
        <!-- /hybrid/html/local.html?data=111  向内传值 -->
        <web-view :webview-styles="webviewStyles" src="https://zhangteng.cloud/c.html" @message="getMessage"
            style="height:500rpx"></web-view>

    </view>
</template>

<script>
var wv;
export default {
    data() {
        return {
            webviewStyles: {
                progress: {  // 加载网络地址是 进度条样式
                    color: '#46be8a'
                }
            }
        };
    },

    components: {},

    computed: {},

    mounted() { },

    created() { },
    onReady() {
        // uni.onCompassChange(function (res) {
        //     console.log(res.direction);
        // });
    },

    methods: {}
}

</script>
<style lang='scss' scoped></style>